package com.yantong.mapper;

import com.yantong.pojo.vo.CollectVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Dao
 *
 * @author Kyle
 * @email 572001183@qq.com
 * @date 2019-02-19 10:48:54
 */
public interface CollectMapper {

    int save(CollectVo t);

    int update(CollectVo t);

    int delete(Object id);

    int deleteBatch(Object[] id);

    CollectVo queryObject(Object id);

    List<CollectVo> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    CollectVo selectbymidAndValueId(@Param("mid") Long mid, @Param("valueId") int valueId);
}
